package com.jerry.provider.dao;

import com.jerry.common.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserDao {

    /**
     * 根据用户id查询用户
     * @param 用户id
     * @return 用户
     */
    @Select("select * from t_user where id=#{id}")
    public User findById(Long id);

}
